import { request } from '@/utils'

export function getAbout() {
  return request({
    url: '/admin/about',
    method: 'GET',
  })
}

export function saveAbout(aboutForm) {
  return request({
    url: '/admin/about',
    method: 'POST',
    data: JSON.stringify(aboutForm),
    headers: {
      'Content-type': 'application/json;charset=utf-8',
    },
  })
}
